package com.qf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.TbResivew;
import org.apache.ibatis.annotations.Insert;

/**
 * @InterfaceName ResivewDao
 * @Description
 * @Author lanzhike
 * @Date 2023/7/19 0:29
 * @Version 1.0
 */
public interface ResivewDao extends BaseMapper<TbResivew> {

    @Insert("INSERT INTO tb_resivew VALUES (null,#{resviewDesc},#{studentId},#{courseId})")
    int addResview(int studentId, int courseId, String resviewDesc);
}
